﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Remoting;
using Ch.Elca.Iiop;
using System.Runtime.Remoting.Channels;

namespace rts_server
{
    class rts_server
    {
        static void Main (string[] args)
        {
            IiopChannel chan = new IiopChannel (8088);
            ChannelServices.RegisterChannel (chan, false);

            RemotingConfiguration.RegisterWellKnownServiceType (
                typeof (RTSORBObjectIF_Impl),
                "RTSORBObjectIF",
                WellKnownObjectMode.Singleton);
                
            Console.WriteLine ("Press any key to terminate...");
            Console.Read ();
        }
    } // class rts_server
}
